//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPT3NKHt6i2urmWtqOuugvr9YmpmXfuOq0EecNJVYvtDOqvoSW5VpjDJH4n6n4BiZC0JMyYNpLsK17lmwLZ8bY_6X0hyER-DkOMOYNDP96Zbn3PU-285drlM9SnnS7ecowO3aLZKIBNovoqHLq8jaQOsXDTBIfCLwtK1X8bIh3iGVd50aLye-7em_Q3f8ZN-RqPQf0q_9F9xtCy2mnMMHbR6gGEJlD2Yl6MoR4NZsfDBWsXuyS5BQNPH1FLlLftAEsp'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
